package com.jy.dao;

import com.jy.model.Account;
import com.jy.model.Product_release;
import com.jy.model.WithdrawalRecord;

import java.util.List;

/**
 * 
 * 产品发布管理 dao层
 * @author hgl
 * 
 * */
public interface Product_releaseDao {
	List<Product_release> getInvestInfo(Integer rows, Integer page, String product_name, String syl, String[] ids);
	int getInvestCount(String product_name, String syl);
	Product_release getProductId(String id);
	int saveInvest(Account a);

    List<Product_release> getProductInfo(Integer rows, Integer page, String token);

    Account getsingProduct(String id);

    List<Account> getPouchInfo(Integer state, Integer size, String token);

	Account getsingPouch(String id);

	int updateWith(String id, String withdraw_time);
	//我的产品提现申请
	int updateTxian(Account account);

	//提现记录
	List<WithdrawalRecord> getTxjlInfo(Integer state, Integer size, String token);
	WithdrawalRecord getsingRecord(String id);
	//上传头像
	int updateTouxiang(String id,String touxiang);

	//投资记录
	List<WithdrawalRecord> tzRecordeInfo(Integer state,Integer size,String investor);
	WithdrawalRecord getsingTzRecord(String id);
}
